<template>
<div class="cart-item">
  <div ></div>

    <img :src="carItem.img" alt="">

  <div class="title">{{carItem.title}}</div>
  <div class="price">{{carItem.price}}</div>
</div>
</template>

<script>
export default {
  name: "CartListitem",
  props:{
    carItem:{
      type:Object
    }
  }
}
</script>

<style scoped>
.cart-item{
  width: 100px;

}
img{
  display: inline;
  width: 70px;
}
.title{
  width: 100%;
display: inline;
}
</style>